xen/arm: Warn when a device tree path will be re-used by Xen
authorJulien Grall <julien.grall@citrix.com>
Tue, 29 Sep 2015 16:21:37 +0000 (17:21 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 1 Oct 2015 12:51:39 +0000 (13:51 +0100)
commit380467c375deaf79aaca802cf8759d68a81c4009
tree3464db268a7d43d712153ed67405bc9f6460ac90
parent93be027d51dc6e7c9b4cd071d08194cc6c2306e0
xen/arm: Warn when a device tree path will be re-used by Xen

Xen is unconditionally using certain device tree paths to create DOM0
specific node (for instance /psci, /memory and /hypervisor).

Print a warning message on the console to let the user know if we
re-use one of these nodes.

Note that the content of most of those is very common and they
should have already been skipped via the compatible string or type
string. This warning is here to catch unusual device-tree and
compatible string that we may not yet support in Xen.

Signed-off-by: Julien Grall <julien.grall@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/domain_build.c